#ifndef HITBOX_H
#define HITBOX_H

#include "vector.h"

class Hitbox
{
public:
	Hitbox(int, int, int, int);
	Hitbox();
	~Hitbox();
	
	void setDimensions(int, int, int, int);
	void calcWorldCoords(int, int, int, int, float);
	void clearWorldCoords();

	Vector* getWorldCoord(int);
	Vector* getCenter(){ return xy; };
	Vector* getSize(){ return wh; };
	char*   getIdentifier(){ return identifier; };
	void	setIdentifier(char*);

private:
	Vector *xy;
	Vector *wh;
	Vector *worldCoords[4];
	char *identifier;
};

#endif
